package org.msfj.admin;

import org.msfj.authority.client.EnableAuthorityClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@EnableAuthorityClient
@ComponentScan(basePackages = "org.msfj")
@MapperScan(basePackages = {"org.msfj.admin.*.mapper"})
@EnableEurekaClient
@EnableFeignClients("org.msfj.*.feign")
public class AdminServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(AdminServiceApplication.class,args);
	}

}
